//
//  ToolMacro.h
//  YunGou
//
//  Created by macbook on 16/5/18.
//  Copyright © 2016年 macbook. All rights reserved.
//

#ifndef ToolMacro_h
#define ToolMacro_h

#define SB(boardName,controllerIdentifier) [[UIStoryboard storyboardWithName:boardName bundle:nil] instantiateViewControllerWithIdentifier:controllerIdentifier]

#define UserDefaults [NSUserDefaults standardUserDefaults]
#define IsLogin [[NSUserDefaults standardUserDefaults] boolForKey:@"is_login"]
#define NowTime [[NSDate date] timeIntervalSince1970]

#define BaseURL @"http://www.pkdbao.com/app.php?"
#define ImageUrl @"http://www.pkdbao.com/statics/uploads/"

/**Dubug相关*/

#ifdef DEBUG
#define FZLog(format,...)  NSLog((@"[函数名:%s]\n" "[行号:%d]\n" format),__FUNCTION__,__LINE__,##__VA_ARGS__)
#else
#define FZLog(...)
#endif


#endif /* ToolMacro_h */
